// 该文件用于汇总所有的reducers为一个总的reducer

// 引入combineReducers用于汇总多个reducers
import { combineReducers } from 'redux'
//引入为Count组件服务的reducer
import countReducer from './count'
import personReducer from './person'

// 汇总所有reducers
const allReducer = combineReducers({
	count: countReducer,
	persons: personReducer
})

export default allReducer